package com.atguigu.gulimall.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Classname ThreadPoolConfigProperties
 * @Description TODO
 * @Date 2021/9/10 15:51
 * @Author Anonymous
 */
@SuppressWarnings("all")
@Data
@Component
@ConfigurationProperties(prefix = "ttmall.thread")
public class ThreadPoolConfigProperties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
